From: Olaf Hering Date: Fri, 25 Mar 2011 08:57:47 +0000 (+0000) Subject: xentrace: remove gdprintk usage since they are not in guest context X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=ee89f4611866b671fe32ab11f6c1a65be8842377;p=xen.git xentrace: remove gdprintk usage since they are not in guest context Signed-off-by: Olaf Hering --- diff --git a/xen/common/trace.c b/xen/common/trace.c index cebc5d48d8..29a0753b74 100644 --- a/xen/common/trace.c +++ b/xen/common/trace.c @@ -119,7 +119,7 @@ static int calculate_tbuf_size(unsigned int pages) size /= PAGE_SIZE; if ( pages > size ) { - gdprintk(XENLOG_INFO, "%s: requested number of %u pages reduced to %u\n", + printk(XENLOG_INFO "%s: requested number of %u pages reduced to %u\n", __func__, pages, (unsigned int)size); pages = size; } @@ -265,7 +265,7 @@ static int tb_set_size(unsigned int pages) */ if ( opt_tbuf_size && pages != opt_tbuf_size ) { - gdprintk(XENLOG_INFO, "tb_set_size from %d to %d not implemented\n", + printk(XENLOG_INFO "tb_set_size from %d to %d not implemented\n", opt_tbuf_size, pages); return -EINVAL; } @@ -310,7 +310,7 @@ void __init init_trace_bufs(void) { if ( opt_tbuf_size && alloc_trace_bufs(opt_tbuf_size) ) { - gdprintk(XENLOG_INFO, "Xen trace buffers: " + printk(XENLOG_INFO "Xen trace buffers: " "allocation size %d failed, disabling\n", opt_tbuf_size); opt_tbuf_size = 0;